//
//  AIBaseAlertView.h
//  Mia
//
//  Created by Vill on 2024/1/17.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef enum : NSUInteger {
    Center,
    Top,
    Bottom
} AnimationType;

@interface AIBaseAlertView : UIView

@property (nonatomic,assign) CGFloat contentWidth;

@property (nonatomic,strong) UIView *blankView;

@property (nonatomic,strong) UIView *contentView;

@property (nonatomic,assign) AnimationType animationType;

@property (nonatomic,copy) void(^dismissBlock)(void);

@property (nonatomic,copy) void(^closeBlock)(void);

-(void)showInView:(UIView *)view;

-(void)dismiss;

-(void)blankViewTap;


@end

NS_ASSUME_NONNULL_END
